package org.qs.webservice.vo;

import org.qs.webservice.util.StringUtils;


/**
 * 正文
 * @ClassName: BookChapterContent 
 * @author xusaike 
 * @date 2015年11月27日 下午6:24:32 
 *
 */
public class BookChapterContent {
	//正文
	private String content;
	//章节名称
	private String name;
	//上一章节id
	private int preChapterId;
	//下一章节id
	private int nextChapterId;
	//作者的话
	private String author_words;
	//发布时间
	private String release_time;
	//作者id
	private String author_id;
	//作者名称
	private String author_name;
	//字数
	private int word_size;
	private int chap_reviews;
	private int reviews_num;
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public int getPreChapterId() {
		return preChapterId;
	}
	public void setPreChapterId(int preChapterId) {
		this.preChapterId = preChapterId;
	}
	public int getNextChapterId() {
		return nextChapterId;
	}
	public void setNextChapterId(int nextChapterId) {
		this.nextChapterId = nextChapterId;
	}
	public String getAuthor_words() {
		if(StringUtils.isNullOrEmpty(author_words)){
			return "";
		}
		return author_words;
	}
	public void setAuthor_words(String author_words) {
		this.author_words = author_words;
	}
	/**
	 * @return the release_time
	 */
	public String getRelease_time() {
		return release_time;
	}
	/**
	 * @param release_time the release_time to set
	 */
	public void setRelease_time(String release_time) {
		this.release_time = release_time;
	}
	/**
	 * @return the author_id
	 */
	public String getAuthor_id() {
		return author_id;
	}
	/**
	 * @param author_id the author_id to set
	 */
	public void setAuthor_id(String author_id) {
		this.author_id = author_id;
	}
	/**
	 * @return the author_name
	 */
	public String getAuthor_name() {
		return author_name;
	}
	/**
	 * @param author_name the author_name to set
	 */
	public void setAuthor_name(String author_name) {
		this.author_name = author_name;
	}
	/**
	 * @return the word_size
	 */
	public int getWord_size() {
		return word_size;
	}
	/**
	 * @param word_size the word_size to set
	 */
	public void setWord_size(int word_size) {
		this.word_size = word_size;
	}
	/**
	 * @return the chap_reviews
	 */
	public int getChap_reviews() {
		return chap_reviews;
	}
	/**
	 * @param chap_reviews the chap_reviews to set
	 */
	public void setChap_reviews(int chap_reviews) {
		this.chap_reviews = chap_reviews;
	}
	/**
	 * @return the reviews_num
	 */
	public int getReviews_num() {
		return reviews_num;
	}
	/**
	 * @param reviews_num the reviews_num to set
	 */
	public void setReviews_num(int reviews_num) {
		this.reviews_num = reviews_num;
	}
	
}
